package top.hmtools.beans;

import java.io.Serializable;

/**
 * 数据库表格中字段信息
 * @author Jianghaibo
 *
 */
public class ColumnsInfoBean implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = -3733026275563577187L;
    private String table_catalog;
    private String table_schema;
    private String table_name;
    private String column_name;
    private String ordinal_position;
    private String column_default;
    private String is_nullable;
    private String data_type;
    private String character_maximum_length;
    private String character_octet_length;
    private String numeric_precision;
    private String numeric_scale;
    private String character_set_name;
    private String collation_name;
    private String column_type;
    private String column_key;
    private String extra;
    private String privileges;
    private String column_comment;
    /**
     * @return the table_catalog
     */
    public String getTable_catalog() {
        return table_catalog;
    }
    /**
     * @param table_catalog the table_catalog to set
     */
    public void setTable_catalog(String table_catalog) {
        this.table_catalog = table_catalog;
    }
    /**
     * @return the table_schema
     */
    public String getTable_schema() {
        return table_schema;
    }
    /**
     * @param table_schema the table_schema to set
     */
    public void setTable_schema(String table_schema) {
        this.table_schema = table_schema;
    }
    /**
     * @return the table_name
     */
    public String getTable_name() {
        return table_name;
    }
    /**
     * @param table_name the table_name to set
     */
    public void setTable_name(String table_name) {
        this.table_name = table_name;
    }
    /**
     * @return the column_name
     */
    public String getColumn_name() {
        return column_name;
    }
    /**
     * @param column_name the column_name to set
     */
    public void setColumn_name(String column_name) {
        this.column_name = column_name;
    }
    /**
     * @return the ordinal_position
     */
    public String getOrdinal_position() {
        return ordinal_position;
    }
    /**
     * @param ordinal_position the ordinal_position to set
     */
    public void setOrdinal_position(String ordinal_position) {
        this.ordinal_position = ordinal_position;
    }
    /**
     * @return the column_default
     */
    public String getColumn_default() {
        return column_default;
    }
    /**
     * @param column_default the column_default to set
     */
    public void setColumn_default(String column_default) {
        this.column_default = column_default;
    }
    /**
     * @return the is_nullable
     */
    public String getIs_nullable() {
        return is_nullable;
    }
    /**
     * @param is_nullable the is_nullable to set
     */
    public void setIs_nullable(String is_nullable) {
        this.is_nullable = is_nullable;
    }
    /**
     * @return the data_type
     */
    public String getData_type() {
        return data_type;
    }
    /**
     * @param data_type the data_type to set
     */
    public void setData_type(String data_type) {
        this.data_type = data_type;
    }
    /**
     * @return the character_maximum_length
     */
    public String getCharacter_maximum_length() {
        return character_maximum_length;
    }
    /**
     * @param character_maximum_length the character_maximum_length to set
     */
    public void setCharacter_maximum_length(String character_maximum_length) {
        this.character_maximum_length = character_maximum_length;
    }
    /**
     * @return the character_octet_length
     */
    public String getCharacter_octet_length() {
        return character_octet_length;
    }
    /**
     * @param character_octet_length the character_octet_length to set
     */
    public void setCharacter_octet_length(String character_octet_length) {
        this.character_octet_length = character_octet_length;
    }
    /**
     * @return the numeric_precision
     */
    public String getNumeric_precision() {
        return numeric_precision;
    }
    /**
     * @param numeric_precision the numeric_precision to set
     */
    public void setNumeric_precision(String numeric_precision) {
        this.numeric_precision = numeric_precision;
    }
    /**
     * @return the numeric_scale
     */
    public String getNumeric_scale() {
        return numeric_scale;
    }
    /**
     * @param numeric_scale the numeric_scale to set
     */
    public void setNumeric_scale(String numeric_scale) {
        this.numeric_scale = numeric_scale;
    }
    /**
     * @return the character_set_name
     */
    public String getCharacter_set_name() {
        return character_set_name;
    }
    /**
     * @param character_set_name the character_set_name to set
     */
    public void setCharacter_set_name(String character_set_name) {
        this.character_set_name = character_set_name;
    }
    /**
     * @return the collation_name
     */
    public String getCollation_name() {
        return collation_name;
    }
    /**
     * @param collation_name the collation_name to set
     */
    public void setCollation_name(String collation_name) {
        this.collation_name = collation_name;
    }
    /**
     * @return the column_type
     */
    public String getColumn_type() {
        return column_type;
    }
    /**
     * @param column_type the column_type to set
     */
    public void setColumn_type(String column_type) {
        this.column_type = column_type;
    }
    /**
     * @return the column_key
     */
    public String getColumn_key() {
        return column_key;
    }
    /**
     * @param column_key the column_key to set
     */
    public void setColumn_key(String column_key) {
        this.column_key = column_key;
    }
    /**
     * @return the extra
     */
    public String getExtra() {
        return extra;
    }
    /**
     * @param extra the extra to set
     */
    public void setExtra(String extra) {
        this.extra = extra;
    }
    /**
     * @return the privileges
     */
    public String getPrivileges() {
        return privileges;
    }
    /**
     * @param privileges the privileges to set
     */
    public void setPrivileges(String privileges) {
        this.privileges = privileges;
    }
    /**
     * @return the column_comment
     */
    public String getColumn_comment() {
        return column_comment;
    }
    /**
     * @param column_comment the column_comment to set
     */
    public void setColumn_comment(String column_comment) {
        this.column_comment = column_comment;
    }
    /**
     * 方法说明
     * 输入参数说明
     * 输出参数说明
     */
    @Override
    public String toString() {
        return "ColumnsInfoBean [table_catalog=" + table_catalog
                + ", table_schema=" + table_schema + ", table_name="
                + table_name + ", column_name=" + column_name
                + ", ordinal_position=" + ordinal_position + ", column_default="
                + column_default + ", is_nullable=" + is_nullable
                + ", data_type=" + data_type + ", character_maximum_length="
                + character_maximum_length + ", character_octet_length="
                + character_octet_length + ", numeric_precision="
                + numeric_precision + ", numeric_scale=" + numeric_scale
                + ", character_set_name=" + character_set_name
                + ", collation_name=" + collation_name + ", column_type="
                + column_type + ", column_key=" + column_key + ", extra="
                + extra + ", privileges=" + privileges + ", column_comment="
                + column_comment + "]";
    }
    
    
}
